home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hpwm5125.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  48.5 KB  |  1,750 lines

  1. *%% 
  2. *%% HP DeskJet 1125C
  3. *%%
  4. *%% Copyright 1998, Hewlett-Packard Co.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *Include: "hpvnam50.gpd"
  9.  
  10. *%%
  11. *%% Global Entries
  12. *%%
  13. *GPDSpecVersion: "1.0"
  14. *GPDFileVersion: "1.0"
  15.  
  16. *ModelName:   "HP DeskJet 1125C"
  17. *GPDFileName: "HPWM5125.GPD"
  18. *ResourceDLL: "hpvui50.dll"
  19.  
  20. *PrintRate: 7
  21. *PrintRateUnit: PPM
  22. *rcPersonalityID: =PERSONALITY_PCL_DISPLAY 
  23.  
  24. *MasterUnits: PAIR(600, 600)
  25. *OutputOrderReversed?: TRUE
  26. *PrinterType: SERIAL
  27.  
  28.  
  29. *%%
  30. *%% 1125C Macros
  31. *%%
  32. *Macros: DJ1125CMacros
  33. {
  34.     OEM_DJ1125C:        "HTPD<00 00 00 04 11 00 00 00>"
  35.     OEM_COMMON_INFO:    =OEM_DJ1125C =OEM_PCL2 =OEM_PCL_MARG_0
  36.     OEM_DJ1125C_RESET_MARGIN: "<1B>&l0E<1B>&l0L<1B>*p0y0X"
  37. }
  38.  
  39. *%%
  40. *%% Standard Features
  41. *%%
  42. *Feature: PSAlignmentFile
  43. {
  44.     *Name: "PSAlign"
  45.     *Option: HPV800AL
  46.     {
  47.         *Name: ""
  48.     }
  49. }
  50.  
  51.  
  52. *Feature: PSHelpFile
  53. {
  54.     *Name: "PSHelp"
  55.     *Option: HPVDJ200
  56.     {
  57.         *Name: ""
  58.     }
  59. }
  60.  
  61.  
  62. *Feature: Orientation
  63. {
  64.     *rcNameID: =ORIENTATION_DISPLAY
  65.  
  66.     *DefaultOption: PORTRAIT
  67.     *Option: PORTRAIT
  68.     {
  69.         *rcNameID: =PORTRAIT_DISPLAY
  70.         *Command: CmdSelect
  71.         {
  72.             *Order: PAGE_SETUP.10
  73.             *Cmd: =PCL_ORIENT_PORTRAIT
  74.         }
  75.     }
  76.     *Option: LANDSCAPE_CC90
  77.     {
  78.         *rcNameID: =LANDSCAPE_DISPLAY
  79.         *Command: CmdSelect
  80.         {
  81.             *Order: PAGE_SETUP.10
  82.             *Cmd: =PCL_ORIENT_LANDSCAPE
  83.         }
  84.     }
  85. }
  86.  
  87.  
  88. *Feature: InputBin
  89. {
  90.     *rcNameID: =PAPER_SOURCE_DISPLAY
  91.  
  92.     *DefaultOption: UPPER
  93.     *Option: UPPER
  94.     {
  95.         *rcNameID: =UPPER_TRAY_DISPLAY
  96.         *Command: CmdSelect
  97.         {
  98.             *Order: DOC_SETUP.30
  99.             *Cmd: =PCL_MEDSOURCE_TRAY1 =PCL_MEDSOURCE_PRELOAD
  100.         }
  101.     }
  102.     *Option: MANUAL
  103.     {
  104.         *rcNameID: =MANUAL_FEED_DISPLAY
  105.         *Command: CmdSelect
  106.         {
  107.             *Order: DOC_SETUP.30
  108.             *Cmd: =PCL_MEDSOURCE_MANUALFEED
  109.         }
  110.     }
  111.     *Option: ENVMANUAL
  112.     {
  113.         *rcNameID: =ENV_MANUAL_DISPLAY
  114.         *Command: CmdSelect
  115.         {
  116.             *Order: DOC_SETUP.30
  117.             *Cmd: =PCL_MEDSOURCE_ENVMANFEED
  118.         }
  119.     }
  120. }
  121.  
  122.  
  123. *Feature: PaperSize
  124. {
  125.     *rcNameID: =PAPER_SIZE_DISPLAY
  126.  
  127.     *DefaultOption: LETTER
  128.     *Option: LETTER
  129.     {
  130.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  131.         *BlockMacro: OEM_DJ1125C_PCL3_LETTER
  132.         {
  133.             *Command: CmdSelect
  134.             {
  135.                 *Order: PAGE_SETUP.20
  136.                 *Cmd: =PCL_US_LETTER =OEM_DJ1125C_RESET_MARGIN
  137.             }
  138.         }
  139.         *BlockMacro: OEM_DJ1125C_PCL3GUI_LETTER
  140.         {
  141.             *Command: CmdSelect
  142.             {
  143.                 *Order: PAGE_SETUP.20
  144.                 *Cmd: =PCL_US_LETTER "<1B>*p64y0X"
  145.             }
  146.         }                
  147.         *switch: ColorMode
  148.         {
  149.             *case: Mono
  150.             {
  151.                 *InsertBlock: =OEM_DJ1125C_PCL3_LETTER
  152.             }
  153.             *case: Color4
  154.             {
  155.                 *InsertBlock: =OEM_DJ1125C_PCL3_LETTER
  156.             }
  157.             *default:
  158.             {
  159.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_LETTER
  160.             }
  161.         }
  162.         *switch: Orientation
  163.         {
  164.             *case: PORTRAIT
  165.             {
  166.                 *PrintableArea: PAIR(4800, 6224)
  167.                 *PrintableOrigin: PAIR(150, 76)
  168.                 *CursorOrigin: PAIR(150, 12)
  169.             }
  170.             *case: LANDSCAPE_CC90
  171.             {
  172.                 *PrintableArea: PAIR(4800, 6224)
  173.                 *PrintableOrigin: PAIR(150, 76)
  174.                 *CursorOrigin: PAIR(150, 6324)
  175.             }
  176.         }
  177.     }
  178.     *Option: TABLOID
  179.     {
  180.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  181.         *BlockMacro: OEM_DJ1125C_PCL3_TABLOID
  182.         {
  183.             *Command: CmdSelect
  184.             {
  185.                 *Order: PAGE_SETUP.20
  186.                 *Cmd: =PCL_LEDGER =OEM_DJ1125C_RESET_MARGIN
  187.             }
  188.         }                
  189.         *BlockMacro: OEM_DJ1125C_PCL3GUI_TABLOID
  190.         {
  191.             *Command: CmdSelect
  192.             {
  193.                 *Order: PAGE_SETUP.20
  194.                 *Cmd: =PCL_LEDGER "<1B>*p64y0X"
  195.             }
  196.         }                
  197.         *switch: ColorMode
  198.         {
  199.             *case: Mono
  200.             {
  201.                 *InsertBlock: =OEM_DJ1125C_PCL3_TABLOID
  202.             }
  203.             *case: Color4
  204.             {
  205.                 *InsertBlock: =OEM_DJ1125C_PCL3_TABLOID
  206.             }
  207.             *default:
  208.             {
  209.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_TABLOID
  210.             }
  211.         }
  212.         *switch: Orientation
  213.         {
  214.             *case: PORTRAIT
  215.             {
  216.                 *PrintableArea: PAIR(6352, 9824)
  217.                 *PrintableOrigin: PAIR(124, 76)
  218.                 *CursorOrigin: PAIR(124, 12)
  219.             }
  220.             *case: LANDSCAPE_CC90
  221.             {
  222.                 *PrintableArea: PAIR(6352, 9824)
  223.                 *PrintableOrigin: PAIR(124, 76)
  224.                 *CursorOrigin: PAIR(124, 9924)
  225.             }
  226.         }
  227.     }
  228.     *Option: LEGAL
  229.     {
  230.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  231.         *BlockMacro: OEM_DJ1125C_PCL3_LEGAL
  232.         {
  233.             *Command: CmdSelect
  234.             {
  235.                 *Order: PAGE_SETUP.20
  236.                 *Cmd: =PCL_US_LEGAL =OEM_DJ1125C_RESET_MARGIN
  237.             }
  238.         }                
  239.         *BlockMacro: OEM_DJ1125C_PCL3GUI_LEGAL
  240.         {
  241.             *Command: CmdSelect
  242.             {
  243.                 *Order: PAGE_SETUP.20
  244.                 *Cmd: =PCL_US_LEGAL "<1B>*p56y0X"
  245.             }
  246.         }                
  247.         *switch: ColorMode
  248.         {
  249.             *case: Mono
  250.             {
  251.                 *InsertBlock: =OEM_DJ1125C_PCL3_LEGAL
  252.             }
  253.             *case: Color4
  254.             {
  255.                 *InsertBlock: =OEM_DJ1125C_PCL3_LEGAL
  256.             }
  257.             *default:
  258.             {
  259.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_LEGAL
  260.             }
  261.         }
  262.         *switch: Orientation
  263.         {
  264.             *case: PORTRAIT
  265.             {
  266.                 *PrintableArea: PAIR(4800, 8032)
  267.                 *PrintableOrigin: PAIR(150, 68)
  268.                 *CursorOrigin: PAIR(150, 12)
  269.             }
  270.             *case: LANDSCAPE_CC90
  271.             {
  272.                 *PrintableArea: PAIR(4800, 8032)
  273.                 *PrintableOrigin: PAIR(150, 68)
  274.                 *CursorOrigin: PAIR(150, 8124)
  275.             }
  276.         }
  277.     }
  278.     *Option: EXECUTIVE
  279.     {
  280.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  281.         *BlockMacro: OEM_DJ1125C_PCL3_EXECUTIVE
  282.         {
  283.             *Command: CmdSelect
  284.             {
  285.                 *Order: PAGE_SETUP.20
  286.                 *Cmd: =PCL_US_EXECUTIVE =OEM_DJ1125C_RESET_MARGIN
  287.             }
  288.         }                
  289.         *BlockMacro: OEM_DJ1125C_PCL3GUI_EXECUTIVE
  290.         {
  291.             *Command: CmdSelect
  292.             {
  293.                 *Order: PAGE_SETUP.20
  294.                 *Cmd: =PCL_US_EXECUTIVE "<1B>*p68y0X"
  295.             }
  296.         }                
  297.         *switch: ColorMode
  298.         {
  299.             *case: Mono
  300.             {
  301.                 *InsertBlock: =OEM_DJ1125C_PCL3_EXECUTIVE
  302.             }
  303.             *case: Color4
  304.             {
  305.                 *InsertBlock: =OEM_DJ1125C_PCL3_EXECUTIVE
  306.             }
  307.             *default:
  308.             {
  309.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_EXECUTIVE
  310.             }
  311.         }
  312.         *switch: Orientation
  313.         {
  314.             *case: PORTRAIT
  315.             {
  316.                 *PrintableArea: PAIR(4048, 5920)
  317.                 *PrintableOrigin: PAIR(150, 80)
  318.                 *CursorOrigin: PAIR(150, 12)
  319.             }
  320.             *case: LANDSCAPE_CC90
  321.             {
  322.                 *PrintableArea: PAIR(4048, 5920)
  323.                 *PrintableOrigin: PAIR(150, 80)
  324.                 *CursorOrigin: PAIR(150, 6024)
  325.             }
  326.         }
  327.     }
  328.     *Option: A3
  329.     {
  330.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  331.         *BlockMacro: OEM_DJ1125C_PCL3_A3
  332.         {
  333.             *Command: CmdSelect
  334.             {
  335.                 *Order: PAGE_SETUP.20
  336.                 *Cmd: =PCL_A3 =OEM_DJ1125C_RESET_MARGIN
  337.             }
  338.         }                
  339.         *BlockMacro: OEM_DJ1125C_PCL3GUI_A3
  340.         {
  341.             *Command: CmdSelect
  342.             {
  343.                 *Order: PAGE_SETUP.20
  344.                 *Cmd: =PCL_A3 "<1B>*p56y0X"
  345.             }
  346.         }                
  347.         *switch: ColorMode
  348.         {
  349.             *case: Mono
  350.             {
  351.                 *InsertBlock: =OEM_DJ1125C_PCL3_A3
  352.             }
  353.             *case: Color4
  354.             {
  355.                 *InsertBlock: =OEM_DJ1125C_PCL3_A3
  356.             }
  357.             *default:
  358.             {
  359.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_A3
  360.             }
  361.         }
  362.         *switch: Orientation
  363.         {
  364.             *case: PORTRAIT
  365.             {
  366.                 *PrintableArea: PAIR(6768, 9552)
  367.                 *PrintableOrigin: PAIR(122, 68)
  368.                 *CursorOrigin: PAIR(122, 12)
  369.             }
  370.             *case: LANDSCAPE_CC90
  371.             {
  372.                 *PrintableArea: PAIR(6768, 9552)
  373.                 *PrintableOrigin: PAIR(122, 68)
  374.                 *CursorOrigin: PAIR(122, 9644)
  375.             }
  376.         }
  377.     }
  378.     *Option: A4
  379.     {
  380.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  381.         *BlockMacro: OEM_DJ1125C_PCL3_A4
  382.         {
  383.             *Command: CmdSelect
  384.             {
  385.                 *Order: PAGE_SETUP.20
  386.                 *Cmd: =PCL_A4 =OEM_DJ1125C_RESET_MARGIN
  387.             }
  388.         }                
  389.         *BlockMacro: OEM_DJ1125C_PCL3GUI_A4
  390.         {
  391.             *Command: CmdSelect
  392.             {
  393.                 *Order: PAGE_SETUP.20
  394.                 *Cmd: =PCL_A4 "<1B>*p58y0X"
  395.             }
  396.         }                
  397.         *switch: ColorMode
  398.         {
  399.             *case: Mono
  400.             {
  401.                 *InsertBlock: =OEM_DJ1125C_PCL3_A4
  402.             }
  403.             *case: Color4
  404.             {
  405.                 *InsertBlock: =OEM_DJ1125C_PCL3_A4
  406.             }
  407.             *default:
  408.             {
  409.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_A4
  410.             }
  411.         }
  412.         *switch: Orientation
  413.         {
  414.             *case: PORTRAIT
  415.             {
  416.                 *PrintableArea: PAIR(4800, 6640)
  417.                 *PrintableOrigin: PAIR(80, 74)
  418.                 *CursorOrigin: PAIR(80, 12)
  419.             }
  420.             *case: LANDSCAPE_CC90
  421.             {
  422.                 *PrintableArea: PAIR(4800, 6640)
  423.                 *PrintableOrigin: PAIR(80, 74)
  424.                 *CursorOrigin: PAIR(80, 6738)
  425.             }
  426.         }
  427.     }
  428.     *Option: B4
  429.     {
  430.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  431.         *BlockMacro: OEM_DJ1125C_PCL3_B4
  432.         {
  433.             *Command: CmdSelect
  434.             {
  435.                 *Order: PAGE_SETUP.20
  436.                 *Cmd: =PCL_B4 =OEM_DJ1125C_RESET_MARGIN
  437.             }
  438.         }                
  439.         *BlockMacro: OEM_DJ1125C_PCL3GUI_B4
  440.         {
  441.             *Command: CmdSelect
  442.             {
  443.                 *Order: PAGE_SETUP.20
  444.                 *Cmd: =PCL_B4 "<1B>*p62y0X"
  445.             }
  446.         }                
  447.         *switch: ColorMode
  448.         {
  449.             *case: Mono
  450.             {
  451.                 *InsertBlock: =OEM_DJ1125C_PCL3_B4
  452.             }
  453.             *case: Color4
  454.             {
  455.                 *InsertBlock: =OEM_DJ1125C_PCL3_B4
  456.             }
  457.             *default:
  458.             {
  459.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_B4
  460.             }
  461.         }
  462.         *switch: Orientation
  463.         {
  464.             *case: PORTRAIT
  465.             {
  466.                 *PrintableArea: PAIR(5824, 8224)
  467.                 *PrintableOrigin: PAIR(122, 74)
  468.                 *CursorOrigin: PAIR(122, 12)
  469.             }
  470.             *case: LANDSCAPE_CC90
  471.             {
  472.                 *PrintableArea: PAIR(5824, 8224)
  473.                 *PrintableOrigin: PAIR(122, 74)
  474.                 *CursorOrigin: PAIR(122, 8322)
  475.             }
  476.         }
  477.     }
  478.     *Option: A5
  479.     {
  480.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  481.         *BlockMacro: OEM_DJ1125C_PCL3_A5
  482.         {
  483.             *Command: CmdSelect
  484.             {
  485.                 *Order: PAGE_SETUP.20
  486.                 *Cmd: =PCL_A5 =OEM_DJ1125C_RESET_MARGIN
  487.             }
  488.         }                
  489.         *BlockMacro: OEM_DJ1125C_PCL3GUI_A5
  490.         {
  491.             *Command: CmdSelect
  492.             {
  493.                 *Order: PAGE_SETUP.20
  494.                 *Cmd: =PCL_A5 "<1B>*p56y0X"
  495.             }
  496.         }                
  497.         *switch: ColorMode
  498.         {
  499.             *case: Mono
  500.             {
  501.                 *InsertBlock: =OEM_DJ1125C_PCL3_A5
  502.             }
  503.             *case: Color4
  504.             {
  505.                 *InsertBlock: =OEM_DJ1125C_PCL3_A5
  506.             }
  507.             *default:
  508.             {
  509.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_A5
  510.             }
  511.         }
  512.         *switch: Orientation
  513.         {
  514.             *case: PORTRAIT
  515.             {
  516.                 *PrintableArea: PAIR(3344, 4592)
  517.                 *PrintableOrigin: PAIR(76, 68)
  518.                 *CursorOrigin: PAIR(76, 12)
  519.             }
  520.             *case: LANDSCAPE_CC90
  521.             {
  522.                 *PrintableArea: PAIR(3344, 4592)
  523.                 *PrintableOrigin: PAIR(76, 68)
  524.                 *CursorOrigin: PAIR(76, 4684)
  525.             }
  526.         }
  527.     }
  528.     *Option: B5
  529.     {
  530.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  531.         *BlockMacro: OEM_DJ1125C_PCL3_B5
  532.         {
  533.             *Command: CmdSelect
  534.             {
  535.                 *Order: PAGE_SETUP.20
  536.                 *Cmd: =PCL_B5 =OEM_DJ1125C_RESET_MARGIN
  537.             }
  538.         }                
  539.         *BlockMacro: OEM_DJ1125C_PCL3GUI_B5
  540.         {
  541.             *Command: CmdSelect
  542.             {
  543.                 *Order: PAGE_SETUP.20
  544.                 *Cmd: =PCL_B5 "<1B>*p62y0X"
  545.             }
  546.         }                
  547.         *switch: ColorMode
  548.         {
  549.             *case: Mono
  550.             {
  551.                 *InsertBlock: =OEM_DJ1125C_PCL3_B5
  552.             }
  553.             *case: Color4
  554.             {
  555.                 *InsertBlock: =OEM_DJ1125C_PCL3_B5
  556.             }
  557.             *default:
  558.             {
  559.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_B5
  560.             }
  561.         }
  562.         *switch: Orientation
  563.         {
  564.             *case: PORTRAIT
  565.             {
  566.                 *PrintableArea: PAIR(4144, 5696)
  567.                 *PrintableOrigin: PAIR(76, 74)
  568.                 *CursorOrigin: PAIR(76, 12)
  569.             }
  570.             *case: LANDSCAPE_CC90
  571.             {
  572.                 *PrintableArea: PAIR(4144, 5696)
  573.                 *PrintableOrigin: PAIR(76, 74)
  574.                 *CursorOrigin: PAIR(76, 5794)
  575.             }
  576.         }
  577.     }
  578.     *Option: STATEMENT
  579.     {
  580.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  581.         *BlockMacro: OEM_DJ1125C_PCL3_STATEMENT
  582.         {
  583.             *Command: CmdSelect
  584.             {
  585.                 *Order: PAGE_SETUP.20
  586.                 *Cmd: =PCL_MINI =OEM_DJ1125C_RESET_MARGIN
  587.             }
  588.         }                
  589.         *BlockMacro: OEM_DJ1125C_PCL3GUI_STATEMENT
  590.         {
  591.             *Command: CmdSelect
  592.             {
  593.                 *Order: PAGE_SETUP.20
  594.                 *Cmd: =PCL_MINI "<1B>*p68y0X"
  595.             }
  596.         }                
  597.         *switch: ColorMode
  598.         {
  599.             *case: Mono
  600.             {
  601.                 *InsertBlock: =OEM_DJ1125C_PCL3_STATEMENT
  602.             }
  603.             *case: Color4
  604.             {
  605.                 *InsertBlock: =OEM_DJ1125C_PCL3_STATEMENT
  606.             }
  607.             *default:
  608.             {
  609.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_STATEMENT
  610.             }
  611.         }
  612.         *switch: Orientation
  613.         {
  614.             *case: PORTRAIT
  615.             {
  616.                 *PrintableArea: PAIR(3056, 4720)
  617.                 *PrintableOrigin: PAIR(122, 80)
  618.                 *CursorOrigin: PAIR(122, 12)
  619.             }
  620.             *case: LANDSCAPE_CC90
  621.             {
  622.                 *PrintableArea: PAIR(3056, 4720)
  623.                 *PrintableOrigin: PAIR(122, 80)
  624.                 *CursorOrigin: PAIR(122, 4824)
  625.             }
  626.         }
  627.     }
  628.     *Option: SuperB
  629.     {
  630.         *rcNameID: =SUPER_B_DISPLAY
  631.         *PageDimensions: PAIR(7800,11400)
  632.         *BlockMacro: OEM_DJ1125C_PCL3_SUPER_B
  633.         {
  634.             *Command: CmdSelect
  635.             {
  636.                 *Order: PAGE_SETUP.20
  637.                 *Cmd: =PCL_SUPER_B =OEM_DJ1125C_RESET_MARGIN
  638.             }
  639.         }                
  640.         *BlockMacro: OEM_DJ1125C_PCL3GUI_SUPER_B
  641.         {
  642.             *Command: CmdSelect
  643.             {
  644.                 *Order: PAGE_SETUP.20
  645.                 *Cmd: =PCL_SUPER_B "<1B>*p176y0X"
  646.             }
  647.         }                
  648.         *switch: ColorMode
  649.         {
  650.             *case: Mono
  651.             {
  652.                 *InsertBlock: =OEM_DJ1125C_PCL3_SUPER_B
  653.             }
  654.             *case: Color4
  655.             {
  656.                 *InsertBlock: =OEM_DJ1125C_PCL3_SUPER_B
  657.             }
  658.             *default:
  659.             {
  660.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_SUPER_B
  661.             }
  662.         }
  663.         *switch: Orientation
  664.         {
  665.             *case: PORTRAIT
  666.             {
  667.                 *PrintableArea: PAIR(7552, 10912)
  668.                 *PrintableOrigin: PAIR(124, 188)
  669.                 *CursorOrigin: PAIR(124, 12)
  670.             }
  671.             *case: LANDSCAPE_CC90
  672.             {
  673.                 *PrintableArea: PAIR(7552, 10912)
  674.                 *PrintableOrigin: PAIR(124, 188)
  675.                 *CursorOrigin: PAIR(124, 11124)
  676.             }
  677.         }
  678.     }
  679.     *Option: ENV_10
  680.     {
  681.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  682.         *Constraints: InputBin.UPPER
  683.         *Constraints: InputBin.MANUAL
  684.         *BlockMacro: OEM_DJ1125C_PCL3_ENV_10
  685.         {
  686.             *Command: CmdSelect
  687.             {
  688.                 *Order: PAGE_SETUP.20
  689.                 *Cmd: =PCL_ENV_10 =OEM_DJ1125C_RESET_MARGIN
  690.             }
  691.         }                
  692.         *BlockMacro: OEM_DJ1125C_PCL3_ENV_10_CUSTOM
  693.         {
  694.             *Command: CmdSelect
  695.             {
  696.                 *Order: PAGE_SETUP.20
  697.                 *Cmd: =PCL_CUSTOMSIZE =OEM_DJ1125C_RESET_MARGIN
  698.             }
  699.         }                
  700.         *BlockMacro: OEM_DJ1125C_PCL3GUI_ENV_10_CUSTOM
  701.         {
  702.             *Command: CmdSelect
  703.             {
  704.                 *Order: PAGE_SETUP.20
  705.                 *Cmd: =PCL_CUSTOMSIZE "<1B>*p300y0X"
  706.             }
  707.         }                
  708.         *switch: ColorMode
  709.         {
  710.             *case: Mono
  711.             {
  712.                 *switch: Orientation
  713.                 {
  714.                     *case: PORTRAIT { *InsertBlock: =OEM_DJ1125C_PCL3_ENV_10_CUSTOM }
  715.                     *case: LANDSCAPE_CC90 { *InsertBlock: =OEM_DJ1125C_PCL3_ENV_10 }
  716.                 }
  717.             }
  718.             *case: Color4
  719.             {
  720.                 *switch: Orientation
  721.                 {
  722.                     *case: PORTRAIT { *InsertBlock: =OEM_DJ1125C_PCL3_ENV_10_CUSTOM }
  723.                     *case: LANDSCAPE_CC90 { *InsertBlock: =OEM_DJ1125C_PCL3_ENV_10 }
  724.                 }
  725.             }
  726.             *default:
  727.             {
  728.                 *switch: Orientation
  729.                 {
  730.                     *case: PORTRAIT { *InsertBlock: =OEM_DJ1125C_PCL3GUI_ENV_10_CUSTOM }
  731.                     *case: LANDSCAPE_CC90 { *InsertBlock: =OEM_DJ1125C_PCL3GUI_ENV_10_CUSTOM }
  732.                 }
  733.             }
  734.         }
  735.         *switch: Orientation
  736.         {
  737.             *case: PORTRAIT
  738.             {
  739.                 *PrintableArea: PAIR(2320, 5088)
  740.                 *PrintableOrigin: PAIR(76, 312)
  741.                 *CursorOrigin: PAIR(76, 12)
  742.             }
  743.             *case: LANDSCAPE_CC90
  744.             {
  745.                 *PrintableArea: PAIR(2320, 5088)
  746.                 *PrintableOrigin: PAIR(76, 312)
  747.                 *CursorOrigin: PAIR(76, 5424)
  748.             }
  749.         }
  750.     }
  751.     *Option: ENV_DL
  752.     {
  753.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  754.         *Constraints: InputBin.UPPER
  755.         *Constraints: InputBin.MANUAL
  756.         *BlockMacro: OEM_DJ1125C_PCL3_ENV_DL
  757.         {
  758.             *Command: CmdSelect
  759.             {
  760.                 *Order: PAGE_SETUP.20
  761.                 *Cmd: =PCL_ENV_DL =OEM_DJ1125C_RESET_MARGIN
  762.             }
  763.         }                
  764.         *BlockMacro: OEM_DJ1125C_PCL3GUI_ENV_DL
  765.         {
  766.             *Command: CmdSelect
  767.             {
  768.                 *Order: PAGE_SETUP.20
  769.                 *Cmd: =PCL_ENV_DL "<1B>*p292y0X"
  770.             }
  771.         }                
  772.         *switch: ColorMode
  773.         {
  774.             *case: Mono
  775.             {
  776.                 *InsertBlock: =OEM_DJ1125C_PCL3_ENV_DL
  777.             }
  778.             *case: Color4
  779.             {
  780.                 *InsertBlock: =OEM_DJ1125C_PCL3_ENV_DL
  781.             }
  782.             *default:
  783.             {
  784.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_ENV_DL
  785.             }
  786.         }
  787.         *switch: Orientation
  788.         {
  789.             *case: PORTRAIT
  790.             {
  791.                 *PrintableArea: PAIR(2448, 4592)
  792.                 *PrintableOrigin: PAIR(74, 304)
  793.                 *CursorOrigin: PAIR(74, 12)
  794.             }
  795.             *case: LANDSCAPE_CC90
  796.             {
  797.                 *PrintableArea: PAIR(2448, 4592)
  798.                 *PrintableOrigin: PAIR(74, 304)
  799.                 *CursorOrigin: PAIR(74, 4920)
  800.             }
  801.         }
  802.     }
  803.     *Option: ENV_C6
  804.     {
  805.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  806.         *Constraints: InputBin.UPPER
  807.         *Constraints: InputBin.MANUAL
  808.         *BlockMacro: OEM_DJ1125C_PCL3_ENV_C6
  809.         {
  810.             *Command: CmdSelect
  811.             {
  812.                 *Order: PAGE_SETUP.20
  813.                 *Cmd: =PCL_ENV_C6 =OEM_DJ1125C_RESET_MARGIN
  814.             }
  815.         }                
  816.         *BlockMacro: OEM_DJ1125C_PCL3GUI_ENV_C6
  817.         {
  818.             *Command: CmdSelect
  819.             {
  820.                 *Order: PAGE_SETUP.20
  821.                 *Cmd: =PCL_ENV_C6 "<1B>*p298y0X"
  822.             }
  823.         }                
  824.         *switch: ColorMode
  825.         {
  826.             *case: Mono
  827.             {
  828.                 *InsertBlock: =OEM_DJ1125C_PCL3_ENV_C6
  829.             }
  830.             *case: Color4
  831.             {
  832.                 *InsertBlock: =OEM_DJ1125C_PCL3_ENV_C6
  833.             }
  834.             *default:
  835.             {
  836.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_ENV_C6
  837.             }
  838.         }
  839.         *switch: Orientation
  840.         {
  841.             *case: PORTRAIT
  842.             {
  843.                 *PrintableArea: PAIR(2544, 3216)
  844.                 *PrintableOrigin: PAIR(74, 310)
  845.                 *CursorOrigin: PAIR(74, 12)
  846.             }
  847.             *case: LANDSCAPE_CC90
  848.             {
  849.                 *PrintableArea: PAIR(2544, 3216)
  850.                 *PrintableOrigin: PAIR(74, 310)
  851.                 *CursorOrigin: PAIR(74, 3550)
  852.             }
  853.         }
  854.     }
  855.     *Option: JAPANESE_POSTCARD
  856.     {
  857.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  858.         *Constraints: InputBin.UPPER
  859.         *Constraints: InputBin.MANUAL
  860.         *BlockMacro: OEM_DJ1125C_PCL3_JAPANESE_POSTCARD
  861.         {
  862.             *Command: CmdSelect
  863.             {
  864.                 *Order: PAGE_SETUP.20
  865.                 *Cmd: =PCL_JAPANESE_POSTCARD =OEM_DJ1125C_RESET_MARGIN
  866.             }
  867.         }                
  868.         *BlockMacro: OEM_DJ1125C_PCL3GUI_JAPANESE_POSTCARD
  869.         {
  870.             *Command: CmdSelect
  871.             {
  872.                 *Order: PAGE_SETUP.20
  873.                 *Cmd: =PCL_JAPANESE_POSTCARD "<1B>*p64y0X"
  874.             }
  875.         }                
  876.         *switch: ColorMode
  877.         {
  878.             *case: Mono
  879.             {
  880.                 *InsertBlock: =OEM_DJ1125C_PCL3_JAPANESE_POSTCARD
  881.             }
  882.             *case: Color4
  883.             {
  884.                 *InsertBlock: =OEM_DJ1125C_PCL3_JAPANESE_POSTCARD
  885.             }
  886.             *default:
  887.             {
  888.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_JAPANESE_POSTCARD
  889.             }
  890.         }
  891.         *switch: Orientation
  892.         {
  893.             *case: PORTRAIT
  894.             {
  895.                 *PrintableArea: PAIR(2208, 3120)
  896.                 *PrintableOrigin: PAIR(76, 76)
  897.                 *CursorOrigin: PAIR(76, 12)
  898.             }
  899.             *case: LANDSCAPE_CC90
  900.             {
  901.                 *PrintableArea: PAIR(2208, 3120)
  902.                 *PrintableOrigin: PAIR(76, 76)
  903.                 *CursorOrigin: PAIR(76, 3220)
  904.             }
  905.         }
  906.     }
  907.     *Option: A6
  908.     {
  909.         *rcNameID: =A6_DISPLAY
  910.         *Constraints: InputBin.UPPER
  911.         *Constraints: InputBin.MANUAL
  912.         *BlockMacro: OEM_DJ1125C_PCL3_A6
  913.         {
  914.             *Command: CmdSelect
  915.             {
  916.                 *Order: PAGE_SETUP.20
  917.                 *Cmd: =PCL_A6 =OEM_DJ1125C_RESET_MARGIN
  918.             }
  919.         }                
  920.         *BlockMacro: OEM_DJ1125C_PCL3GUI_A6
  921.         {
  922.             *Command: CmdSelect
  923.             {
  924.                 *Order: PAGE_SETUP.20
  925.                 *Cmd: =PCL_A6 "<1B>*p64y0X"
  926.             }
  927.         }                
  928.         *switch: ColorMode
  929.         {
  930.             *case: Mono
  931.             {
  932.                 *InsertBlock: =OEM_DJ1125C_PCL3_A6
  933.             }
  934.             *case: Color4
  935.             {
  936.                 *InsertBlock: =OEM_DJ1125C_PCL3_A6
  937.             }
  938.             *default:
  939.             {
  940.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_A6
  941.             }
  942.         }
  943.         *switch: Orientation
  944.         {
  945.             *case: PORTRAIT
  946.             {
  947.                 *PrintableArea: PAIR(2336, 3120)
  948.                 *PrintableOrigin: PAIR(72, 76)
  949.                 *CursorOrigin: PAIR(72, 12)
  950.             }
  951.             *case: LANDSCAPE_CC90
  952.             {
  953.                 *PrintableArea: PAIR(2336, 3120)
  954.                 *PrintableOrigin: PAIR(72, 76)
  955.                 *CursorOrigin: PAIR(72, 3220)
  956.             }
  957.         }
  958.     }
  959.     *Option: INDEX_4x6
  960.     {
  961.         *rcNameID: =US_INDEX_CARD_4X6_DISPLAY
  962.         *PageDimensions: PAIR(2400, 3600)
  963.         *Constraints: InputBin.UPPER
  964.         *Constraints: InputBin.MANUAL
  965.         *BlockMacro: OEM_DJ1125C_PCL3_INDEX_4X6
  966.         {
  967.             *Command: CmdSelect
  968.             {
  969.                 *Order: PAGE_SETUP.20
  970.                 *Cmd: =PCL_INDEX_4x6 =OEM_DJ1125C_RESET_MARGIN
  971.             }
  972.         }                
  973.         *BlockMacro: OEM_DJ1125C_PCL3GUI_INDEX_4X6
  974.         {
  975.             *Command: CmdSelect
  976.             {
  977.                 *Order: PAGE_SETUP.20
  978.                 *Cmd: =PCL_INDEX_4x6 "<1B>*p56y0X"
  979.             }
  980.         }                
  981.         *switch: ColorMode
  982.         {
  983.             *case: Mono
  984.             {
  985.                 *InsertBlock: =OEM_DJ1125C_PCL3_INDEX_4X6
  986.             }
  987.             *case: Color4
  988.             {
  989.                 *InsertBlock: =OEM_DJ1125C_PCL3_INDEX_4X6
  990.             }
  991.             *default:
  992.             {
  993.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_INDEX_4X6
  994.             }
  995.         }
  996.         *switch: Orientation
  997.         {
  998.             *case: PORTRAIT
  999.             {
  1000.                 *PrintableArea: PAIR(2256, 3232)
  1001.                 *PrintableOrigin: PAIR(72, 68)
  1002.                 *CursorOrigin: PAIR(72, 12)
  1003.             }
  1004.             *case: LANDSCAPE_CC90
  1005.             {
  1006.                 *PrintableArea: PAIR(2256, 3232)
  1007.                 *PrintableOrigin: PAIR(72, 68)
  1008.                 *CursorOrigin: PAIR(72, 3324)
  1009.             }
  1010.         }
  1011.     }
  1012.     *Option: INDEX_5x8
  1013.     {
  1014.         *rcNameID: =US_INDEX_CARD_5X8_DISPLAY
  1015.         *PageDimensions: PAIR(3000, 4800)
  1016.         *Constraints: InputBin.UPPER
  1017.         *Constraints: InputBin.MANUAL
  1018.         *BlockMacro: OEM_DJ1125C_PCL3_INDEX_5X8
  1019.         {
  1020.             *Command: CmdSelect
  1021.             {
  1022.                 *Order: PAGE_SETUP.20
  1023.                 *Cmd: =PCL_INDEX_5x8 =OEM_DJ1125C_RESET_MARGIN
  1024.             }
  1025.         }                
  1026.         *BlockMacro: OEM_DJ1125C_PCL3GUI_INDEX_5X8
  1027.         {
  1028.             *Command: CmdSelect
  1029.             {
  1030.                 *Order: PAGE_SETUP.20
  1031.                 *Cmd: =PCL_INDEX_5x8 "<1B>*p56y0X"
  1032.             }
  1033.         }                
  1034.         *switch: ColorMode
  1035.         {
  1036.             *case: Mono
  1037.             {
  1038.                 *InsertBlock: =OEM_DJ1125C_PCL3_INDEX_5X8
  1039.             }
  1040.             *case: Color4
  1041.             {
  1042.                 *InsertBlock: =OEM_DJ1125C_PCL3_INDEX_5X8
  1043.             }
  1044.             *default:
  1045.             {
  1046.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_INDEX_5X8
  1047.             }
  1048.         }
  1049.         *switch: Orientation
  1050.         {
  1051.             *case: PORTRAIT
  1052.             {
  1053.                 *PrintableArea: PAIR(2848, 4432)
  1054.                 *PrintableOrigin: PAIR(76, 68)
  1055.                 *CursorOrigin: PAIR(76, 12)
  1056.             }
  1057.             *case: LANDSCAPE_CC90
  1058.             {
  1059.                 *PrintableArea: PAIR(2848, 4432)
  1060.                 *PrintableOrigin: PAIR(76, 68)
  1061.                 *CursorOrigin: PAIR(76, 4524)
  1062.             }
  1063.         }
  1064.     }
  1065.     *Option: CUSTOMSIZE
  1066.     {
  1067.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1068.         *MinSize: PAIR(2360, 3416)
  1069.         *MaxSize: PAIR(7800, 11400)
  1070.         *TopMargin: 188
  1071.         *BottomMargin: 300
  1072.         *MaxPrintableWidth: 7552
  1073.         *MinLeftMargin: 124
  1074.         *CenterPrintable?: FALSE
  1075.         *BlockMacro: OEM_DJ1125C_PCL3_CUSTOMSIZE
  1076.         {
  1077.             *Command: CmdSelect
  1078.             {
  1079.                 *Order: PAGE_SETUP.20
  1080.                 *Cmd: =PCL_CUSTOMSIZE =OEM_DJ1125C_RESET_MARGIN
  1081.             }
  1082.         }                
  1083.         *BlockMacro: OEM_DJ1125C_PCL3GUI_CUSTOMSIZE
  1084.         {
  1085.             *Command: CmdSelect
  1086.             {
  1087.                 *Order: PAGE_SETUP.20
  1088.                 *Cmd: =PCL_CUSTOMSIZE "<1B>*p176y0X"
  1089.             }
  1090.         }                
  1091.         *switch: ColorMode
  1092.         {
  1093.             *case: Mono
  1094.             {
  1095.                 *InsertBlock: =OEM_DJ1125C_PCL3_CUSTOMSIZE
  1096.             }
  1097.             *case: Color4
  1098.             {
  1099.                 *InsertBlock: =OEM_DJ1125C_PCL3_CUSTOMSIZE
  1100.             }
  1101.             *default:
  1102.             {
  1103.                 *InsertBlock: =OEM_DJ1125C_PCL3GUI_CUSTOMSIZE
  1104.             }
  1105.         }
  1106.         *switch: Orientation
  1107.         {
  1108.             *case: PORTRAIT
  1109.             {
  1110.                 *CursorOrigin: PAIR(124, 12)
  1111.             }
  1112.             *case: LANDSCAPE_CC90
  1113.             {
  1114.                 *CursorOrigin: PAIR(124, 11124)
  1115.             }
  1116.         }
  1117.     }
  1118. }
  1119.  
  1120.  
  1121. *Feature: ColorMode
  1122. {
  1123.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1124.     *ConflictPriority: 30
  1125.     *UpdateQualityMacro?: TRUE
  1126.  
  1127.     *DefaultOption: Color24
  1128.     *Option: Mono
  1129.     {
  1130.         *rcNameID: =MONO_DISPLAY
  1131.         *Color?: FALSE
  1132.         *DevNumOfPlanes: 1
  1133.         *DevBPP: 1
  1134.         *Command: CmdSelect
  1135.         {
  1136.             *Order: DOC_SETUP.10
  1137.             *Cmd: =PJL_ENTER_PCL
  1138.         }
  1139.     }
  1140.     *Option: Color4
  1141.     {
  1142.         *rcNameID: =COLOR_DISPLAY
  1143.         *Color?: TRUE
  1144.         *ColorPlaneOrder: LIST(BLACK, CYAN, MAGENTA, YELLOW)
  1145.         *DevNumOfPlanes: 4
  1146.         *DevBPP: 1
  1147.         *DrvBPP: 4
  1148.         *Command: CmdSelect
  1149.         {
  1150.             *Order: DOC_SETUP.10
  1151.             *Cmd: =PJL_ENTER_PCL
  1152.         }
  1153.     }
  1154.     *Option: Gray8
  1155.     {   
  1156.         *rcNameID: =GRAYSCALE_DISPLAY
  1157.         *Color?: FALSE
  1158.         *DevNumOfPlanes: 0
  1159.         *DevBPP: 0
  1160.         *DrvBPP: 8
  1161.         *IPCallbackID: 1
  1162.         *Command: CmdSelect
  1163.         {
  1164.             *Order: DOC_SETUP.10
  1165.             *Cmd: =PJL_ENTER_PCL3GUI
  1166.         }
  1167.     }
  1168.     *Option: Color24
  1169.     {   
  1170.         *rcNameID: =24BPP_DISPLAY
  1171.         *Color?: TRUE
  1172.         *DevNumOfPlanes: 0
  1173.         *DevBPP: 0
  1174.         *DrvBPP: 24
  1175.         *IPCallbackID: 1
  1176.         *Command: CmdSelect
  1177.         {
  1178.             *Order: DOC_SETUP.10
  1179.             *Cmd: =PJL_ENTER_PCL3GUI
  1180.         }
  1181.     }
  1182. }
  1183.  
  1184.  
  1185. *Feature: =HPHT_DLLNAME
  1186. {
  1187.     *Name: "Img"
  1188.     *Option: =HPHT_DLLNAME_DEFAULT 
  1189.     {
  1190.         *Name: ""
  1191.     }
  1192. }
  1193.  
  1194.  
  1195. *Feature: MediaType
  1196. {
  1197.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1198.     *ConflictPriority: 10
  1199.     *UpdateQualityMacro?: TRUE
  1200.  
  1201.     *DefaultOption: STANDARD
  1202.     *Option: STANDARD 
  1203.     {
  1204.         *rcNameID: =PLAIN_PAPER_DISPLAY
  1205.         *Command: CmdSelect
  1206.         {
  1207.             *Order: DOC_SETUP.45
  1208.             *Cmd: =PCL_MEDIA_PLAIN
  1209.         }
  1210.  
  1211.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: TRUE
  1212.     }
  1213.     *Option: HP_PREMIUM_INKJET_PAPER
  1214.     {   
  1215.         *rcNameID: =HP_PREMIUM_INKJET_PAPER_DISPLAY
  1216.         *OptionID: =HP_PREMIUM_INKJET_PAPER_ID
  1217.         *Command: CmdSelect
  1218.         {
  1219.             *Order: DOC_SETUP.45
  1220.             *Cmd: =PCL_MEDIA_SPECIAL
  1221.         }
  1222.  
  1223.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1224.     }
  1225.     *Option: HP_PREMIUM_INKJET_HEAVYWEIGHT
  1226.     {   
  1227.         *rcNameID: =HP_PREMIUM_INKJET_HEAVYWEIGHT_DISPLAY
  1228.         *OptionID: =HP_PREMIUM_INKJET_HEAVYWEIGHT_ID
  1229.         *Command: CmdSelect
  1230.         {
  1231.             *Order: DOC_SETUP.45
  1232.             *Cmd: =PCL_MEDIA_SPECIAL
  1233.         }
  1234.  
  1235.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1236.     }
  1237.     *Option: GLOSSY
  1238.     {   
  1239.         *rcNameID: =HP_PREMIUM_PHOTO_PAPER_DISPLAY
  1240.         *Command: CmdSelect
  1241.         {
  1242.             *Order: DOC_SETUP.45
  1243.             *Cmd: =PCL_MEDIA_GLOSSY
  1244.         }
  1245.  
  1246.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1247.     }
  1248.     *Option: TRANSPARENCY
  1249.     {
  1250.         *rcNameID: =HP_PREMIUM_INKJET_TRANSPARENCY_DISPLAY
  1251.         *Command: CmdSelect
  1252.         {
  1253.             *Order: DOC_SETUP.45
  1254.             *Cmd: =PCL_MEDIA_TRANSPARENCY
  1255.         }
  1256.  
  1257.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1258.     }
  1259. }
  1260.  
  1261.  
  1262. *Feature: PQ
  1263. {
  1264.     *rcNameID: =PRINT_QUALITY_DISPLAY
  1265.     *ConflictPriority: 20
  1266.     *FeatureType: DOC_PROPERTY
  1267.     *UpdateQualityMacro?: TRUE
  1268.  
  1269.     *DefaultOption: Normal
  1270.     *Option: Econo
  1271.     {
  1272.         *rcNameID: =DRAFT_DISPLAY
  1273.         *Command: CmdSelect
  1274.         {
  1275.             *Order: DOC_SETUP.47
  1276.             *Cmd: =PCL_PQ_ECONO
  1277.         }
  1278.     }
  1279.     *Option: Normal
  1280.     {
  1281.         *rcNameID: =NORMAL_DISPLAY 
  1282.         *Command: CmdSelect
  1283.         {
  1284.             *Order: DOC_SETUP.47
  1285.             *Cmd: =PCL_PQ_NORMAL
  1286.         }
  1287.     }
  1288.     *Option: Best
  1289.     {
  1290.         *rcNameID: =BEST_DISPLAY 
  1291.         *Command: CmdSelect
  1292.         {
  1293.             *Order: DOC_SETUP.47
  1294.             *Cmd: =PCL_PQ_BEST
  1295.         }
  1296.     }
  1297. }
  1298.  
  1299.  
  1300. *Feature: Resolution
  1301. {
  1302.     *rcNameID: =RESOLUTION_DISPLAY
  1303.     *ConflictPriority: 50
  1304.     *UpdateQualityMacro?: TRUE
  1305.  
  1306.     *DefaultOption: r300x300
  1307.     *Option: r300x300
  1308.     {
  1309.         *Name: "300 x 300 " =DOTS_PER_INCH
  1310.         *DPI: PAIR(300, 300)
  1311.         *TextDPI: PAIR(300, 300)
  1312.         *SpotDiameter: 100
  1313.     }
  1314.     *Option: r600x600
  1315.     {
  1316.         *Name: "600 x 600 " =DOTS_PER_INCH
  1317.         *DPI: PAIR(600, 600)
  1318.         *TextDPI: PAIR(600, 600)
  1319.         *SpotDiameter: 100
  1320.     }
  1321. }
  1322.  
  1323.  
  1324. *Feature: PM
  1325. {
  1326.     *rcNameID: =PRINT_MODE_DISPLAY
  1327.     *ConflictPriority: 40
  1328.     *FeatureType: DOC_PROPERTY
  1329.     *UpdateQualityMacro?: TRUE
  1330.  
  1331.     *DefaultOption: PlainNormalColor
  1332.     *Option: PlainEconoMono
  1333.     {
  1334.         *rcNameID: =AUTO_SELECT_DISPLAY
  1335.         *Command: CmdSelect
  1336.         {
  1337.             *Order: DOC_SETUP.50
  1338.             *Cmd: =PCL_CRD_K332
  1339.         }
  1340.  
  1341.         EXTERN_GLOBAL: *OEMCustomData: =OEM_PCL2
  1342.  
  1343.         *Constraints: LIST(ColorMode.Color4, ColorMode.Gray8, ColorMode.Color24)
  1344.         *Constraints: LIST(PQ.Normal, PQ.Best)
  1345.         *Constraints: LIST(Resolution.r600x600)
  1346.     }
  1347.     *Option: PlainNormalMono
  1348.     {
  1349.         *rcNameID: =AUTO_SELECT_DISPLAY
  1350.         *Command: CmdSelect
  1351.         {
  1352.             *Order: DOC_SETUP.50
  1353.             *Cmd: =PCL_CRD_K332
  1354.         }
  1355.  
  1356.         EXTERN_GLOBAL: *OEMCustomData: =OEM_PCL2
  1357.  
  1358.         *Constraints: LIST(ColorMode.Color4, ColorMode.Gray8, ColorMode.Color24)
  1359.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1360.         *Constraints: LIST(Resolution.r600x600)
  1361.     }
  1362.     *Option: PlainBestMono
  1363.     {
  1364.         *rcNameID: =AUTO_SELECT_DISPLAY
  1365.         *Command: CmdSelect
  1366.         {
  1367.             *Order: DOC_SETUP.50
  1368.             *Cmd: =PCL_CRD_K662
  1369.         }
  1370.  
  1371.         EXTERN_GLOBAL: *OEMCustomData: =OEM_PCL2
  1372.  
  1373.         *Constraints: LIST(ColorMode.Color4, ColorMode.Gray8, ColorMode.Color24)
  1374.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1375.         *Constraints: LIST(Resolution.r300x300)
  1376.     }
  1377.     *Option: PlainEconoColor
  1378.     {
  1379.         *rcNameID: =AUTO_SELECT_DISPLAY
  1380.         *Command: CmdSelect
  1381.         {
  1382.             *Order: DOC_SETUP.50
  1383.             *Cmd: =PCL_CRD_K332_C332
  1384.         }
  1385.  
  1386.         EXTERN_GLOBAL: *OEMCustomData: =OEM_PCL2
  1387.  
  1388.         *Constraints: LIST(ColorMode.Gray8, ColorMode.Color24)
  1389.         *Constraints: LIST(PQ.Normal, PQ.Best)
  1390.         *Constraints: LIST(Resolution.r600x600)
  1391.     }
  1392.     *Option: PlainNormalColor
  1393.     {
  1394.         *rcNameID: =AUTO_SELECT_DISPLAY
  1395.         *Command: CmdSelect
  1396.         {
  1397.             *Order: DOC_SETUP.50
  1398.             *Cmd: =PCL_CRD_K334_C334
  1399.         }
  1400.  
  1401.         EXTERN_GLOBAL: *OEMCustomData: 
  1402. +           =OEM_COMMON_INFO
  1403. +           =OEM_DF_K334_C334 =OEM_PQ_NORMAL =OEM_MEDIA_HP_PLAIN
  1404.  
  1405.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4, ColorMode.Gray8)
  1406.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1407.         *Constraints: LIST(Resolution.r600x600)
  1408.     }
  1409.     *Option: PlainBestColor
  1410.     {
  1411.         *rcNameID: =AUTO_SELECT_DISPLAY
  1412.         *Command: CmdSelect
  1413.         {
  1414.             *Order: DOC_SETUP.50
  1415.             *Cmd: =PCL_CRD_K662_C334
  1416.         }
  1417.  
  1418.         EXTERN_GLOBAL: *OEMCustomData: 
  1419. +           =OEM_COMMON_INFO
  1420. +           =OEM_DF_K662_C334 =OEM_PQ_BEST =OEM_MEDIA_HP_PLAIN 
  1421.  
  1422.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4, ColorMode.Gray8)
  1423.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1424.         *Constraints: LIST(Resolution.r600x600)
  1425.     }
  1426.     *Option: SpecialNormal
  1427.     {
  1428.         *rcNameID: =AUTO_SELECT_DISPLAY
  1429.         *Command: CmdSelect
  1430.         {
  1431.             *Order: DOC_SETUP.50
  1432.             *Cmd: =PCL_CRD_K334_C334
  1433.         }
  1434.  
  1435.         EXTERN_GLOBAL: *OEMCustomData: 
  1436. +           =OEM_COMMON_INFO
  1437. +           =OEM_DF_K334_C334 =OEM_PQ_NORMAL =OEM_MEDIA_HP_PREMIUM_INKJET 
  1438.  
  1439.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1440.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1441.         *Constraints: LIST(Resolution.r600x600)
  1442.     }
  1443.     *Option: SpecialBest
  1444.     {
  1445.         *rcNameID: =AUTO_SELECT_DISPLAY
  1446.         *Command: CmdSelect
  1447.         {
  1448.             *Order: DOC_SETUP.50
  1449.             *Cmd: =PCL_CRD_K662_C334
  1450.         }
  1451.  
  1452.         EXTERN_GLOBAL: *OEMCustomData: 
  1453. +           =OEM_COMMON_INFO
  1454. +           =OEM_DF_K662_C334 =OEM_PQ_BEST =OEM_MEDIA_HP_PREMIUM_INKJET 
  1455.  
  1456.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1457.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1458.         *Constraints: LIST(Resolution.r600x600)
  1459.     }
  1460.     *Option: SpecialHeavyNormal
  1461.     {
  1462.         *rcNameID: =AUTO_SELECT_DISPLAY
  1463.         *Command: CmdSelect
  1464.         {
  1465.             *Order: DOC_SETUP.50
  1466.             *Cmd: =PCL_CRD_K334_C334
  1467.         }
  1468.  
  1469.         EXTERN_GLOBAL: *OEMCustomData: 
  1470. +           =OEM_COMMON_INFO
  1471. +           =OEM_DF_K334_C334 =OEM_PQ_NORMAL =OEM_MEDIA_HP_PREMIUM_INKJET_HEAVYWEIGHT 
  1472.  
  1473.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1474.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1475.         *Constraints: LIST(Resolution.r600x600)
  1476.     }
  1477.     *Option: SpecialHeavyBest
  1478.     {
  1479.         *rcNameID: =AUTO_SELECT_DISPLAY
  1480.         *Command: CmdSelect
  1481.         {
  1482.             *Order: DOC_SETUP.50
  1483.             *Cmd: =PCL_CRD_K662_C334
  1484.         }
  1485.  
  1486.         EXTERN_GLOBAL: *OEMCustomData: 
  1487. +           =OEM_COMMON_INFO
  1488. +           =OEM_DF_K662_C334 =OEM_PQ_BEST =OEM_MEDIA_HP_PREMIUM_INKJET_HEAVYWEIGHT
  1489.  
  1490.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1491.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1492.         *Constraints: LIST(Resolution.r600x600)
  1493.     }
  1494.     *Option: PhotoNormal
  1495.     {
  1496.         *rcNameID: =AUTO_SELECT_DISPLAY
  1497.         *Command: CmdSelect
  1498.         {
  1499.             *Order: DOC_SETUP.50
  1500.             *Cmd: =PCL_CRD_K334_C334
  1501.         }
  1502.  
  1503.         EXTERN_GLOBAL: *OEMCustomData: 
  1504. +           =OEM_COMMON_INFO
  1505. +           =OEM_DF_K334_C334 =OEM_PQ_NORMAL =OEM_MEDIA_HP_PREMIUM_PHOTO 
  1506.  
  1507.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1508.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1509.         *Constraints: LIST(Resolution.r600x600)
  1510.     }
  1511.     *Option: PhotoBest
  1512.     {
  1513.         *rcNameID: =AUTO_SELECT_DISPLAY
  1514.         *Command: CmdSelect
  1515.         {
  1516.             *Order: DOC_SETUP.50
  1517.             *Cmd: =PCL_CRD_K334_C334
  1518.         }
  1519.  
  1520.         EXTERN_GLOBAL: *OEMCustomData: 
  1521. +           =OEM_COMMON_INFO
  1522. +           =OEM_DF_K334_C334 =OEM_PQ_BEST =OEM_MEDIA_HP_PREMIUM_PHOTO 
  1523.  
  1524.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1525.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1526.         *Constraints: LIST(Resolution.r600x600)
  1527.     }
  1528.     *Option: TransparencyNormal
  1529.     {
  1530.         *rcNameID: =AUTO_SELECT_DISPLAY
  1531.         *Command: CmdSelect
  1532.         {
  1533.             *Order: DOC_SETUP.50
  1534.             *Cmd: =PCL_CRD_K334_C334
  1535.         }
  1536.  
  1537.         EXTERN_GLOBAL: *OEMCustomData: 
  1538. +           =OEM_COMMON_INFO
  1539. +           =OEM_DF_K334_C334 =OEM_PQ_NORMAL =OEM_MEDIA_HP_PREMIUM_INKJET_TRANSPARENCY
  1540.  
  1541.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1542.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1543.         *Constraints: LIST(Resolution.r600x600)
  1544.     }
  1545. }
  1546.  
  1547.  
  1548. *%%
  1549. *%% Print Quality Macros
  1550. *%%
  1551. *switch: MediaType
  1552. {
  1553.     *case: STANDARD
  1554.     {
  1555.         *switch: ColorMode
  1556.         {
  1557.             *case: Mono
  1558.             {
  1559.                 *DraftQualitySettings:  LIST(ColorMode.Mono, PM.PlainEconoMono,  PQ.Econo,  Resolution.r300x300)
  1560.                 *BetterQualitySettings: LIST(ColorMode.Mono, PM.PlainNormalMono, PQ.Normal, Resolution.r300x300)
  1561.                 *BestQualitySettings:   LIST(ColorMode.Mono, PM.PlainBestMono,   PQ.Best,   Resolution.r600x600)
  1562.                 *DefaultQuality: BETTERQUALITY
  1563.             }
  1564.             *case: Gray8
  1565.             {
  1566.                 *DraftQualitySettings:  LIST(ColorMode.Mono, PM.PlainEconoMono,  PQ.Econo,  Resolution.r300x300)
  1567.                 *BetterQualitySettings: LIST(ColorMode.Mono, PM.PlainNormalMono, PQ.Normal, Resolution.r300x300)
  1568.                 *BestQualitySettings:   LIST(ColorMode.Mono, PM.PlainBestMono,   PQ.Best,   Resolution.r600x600)
  1569.                 *DefaultQuality: BETTERQUALITY
  1570.             }
  1571.             *default:
  1572.             {
  1573.                 *DraftQualitySettings:  LIST(ColorMode.Color4,  PM.PlainEconoColor,  PQ.Econo,  Resolution.r300x300)
  1574.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.PlainNormalColor, PQ.Normal, Resolution.r300x300)
  1575.                 *BestQualitySettings:   LIST(ColorMode.Color24, PM.PlainBestColor,   PQ.Best,   Resolution.r300x300)
  1576.                 *DefaultQuality: BETTERQUALITY
  1577.             }
  1578.         }
  1579.     }
  1580.     *case: HP_PREMIUM_INKJET_PAPER
  1581.     {
  1582.         *switch: ColorMode
  1583.         {
  1584.             *case: Mono
  1585.             {
  1586.                 *DraftQualitySettings:  LIST()
  1587.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  1588.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.SpecialBest,   PQ.Best,   Resolution.r300x300)
  1589.                 *DefaultQuality: BESTQUALITY
  1590.             }
  1591.             *case: Gray8
  1592.             {
  1593.                 *DraftQualitySettings:  LIST()
  1594.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  1595.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.SpecialBest,   PQ.Best,   Resolution.r300x300)
  1596.                 *DefaultQuality: BESTQUALITY
  1597.             }
  1598.             *default:
  1599.             {
  1600.                 *DraftQualitySettings:  LIST()
  1601.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  1602.                 *BestQualitySettings:   LIST(ColorMode.Color24, PM.SpecialBest,   PQ.Best,   Resolution.r300x300)
  1603.                 *DefaultQuality: BESTQUALITY
  1604.             }
  1605.         }
  1606.     }
  1607.     *case: HP_PREMIUM_INKJET_HEAVYWEIGHT
  1608.     {
  1609.         *switch: ColorMode
  1610.         {
  1611.             *case: Mono
  1612.             {
  1613.                 *DraftQualitySettings:  LIST()
  1614.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  1615.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.SpecialBest,   PQ.Best,   Resolution.r300x300)
  1616.                 *DefaultQuality: BESTQUALITY
  1617.             }
  1618.             *case: Gray8
  1619.             {
  1620.                 *DraftQualitySettings:  LIST()
  1621.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  1622.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.SpecialBest,   PQ.Best,   Resolution.r300x300)
  1623.                 *DefaultQuality: BESTQUALITY
  1624.             }
  1625.             *default:
  1626.             {
  1627.                 *DraftQualitySettings:  LIST()
  1628.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  1629.                 *BestQualitySettings:   LIST(ColorMode.Color24, PM.SpecialBest,   PQ.Best,   Resolution.r300x300)
  1630.                 *DefaultQuality: BESTQUALITY
  1631.             }
  1632.         }
  1633.     }
  1634.     *case: GLOSSY
  1635.     {
  1636.         *switch: ColorMode
  1637.         {
  1638.             *case: Mono
  1639.             {
  1640.                 *DraftQualitySettings:  LIST()
  1641.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PhotoNormal, PQ.Normal, Resolution.r300x300)
  1642.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PhotoBest,   PQ.Best,   Resolution.r300x300)
  1643.                 *DefaultQuality: BESTQUALITY
  1644.             }
  1645.             *case: Gray8
  1646.             {
  1647.                 *DraftQualitySettings:  LIST()
  1648.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PhotoNormal, PQ.Normal, Resolution.r300x300)
  1649.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PhotoBest,   PQ.Best,   Resolution.r300x300)
  1650.                 *DefaultQuality: BESTQUALITY
  1651.             }
  1652.             *default:
  1653.             {
  1654.                 *DraftQualitySettings:  LIST()
  1655.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.PhotoNormal, PQ.Normal, Resolution.r300x300)
  1656.                 *BestQualitySettings:   LIST(ColorMode.Color24, PM.PhotoBest,   PQ.Best,   Resolution.r300x300)
  1657.                 *DefaultQuality: BESTQUALITY
  1658.             }
  1659.         }
  1660.     }
  1661.     *case: TRANSPARENCY
  1662.     {
  1663.         *switch: ColorMode
  1664.         {
  1665.             *case: Mono
  1666.             {
  1667.                 *DraftQualitySettings:  LIST()
  1668.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
  1669.                 *BestQualitySettings:   LIST()
  1670.                 *DefaultQuality: BETTERQUALITY
  1671.             }
  1672.             *case: Gray8
  1673.             {
  1674.                 *DraftQualitySettings:  LIST()
  1675.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
  1676.                 *BestQualitySettings:   LIST()
  1677.                 *DefaultQuality: BETTERQUALITY
  1678.             }
  1679.             *default:
  1680.             {
  1681.                 *DraftQualitySettings:  LIST()
  1682.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
  1683.                 *BestQualitySettings:   LIST()
  1684.                 *DefaultQuality: BETTERQUALITY
  1685.             }
  1686.         }
  1687.     }
  1688. }
  1689.  
  1690.  
  1691. *%%
  1692. *%% Printer Configuration Commands
  1693. *%%
  1694. *Command: CmdStartDoc
  1695. {
  1696.     *Order: DOC_SETUP.20
  1697.     *Cmd: "<1B>&i5W<07><0D><00><00><01><1B>&u600D"
  1698. }
  1699.  
  1700. *Command: CmdEndDoc
  1701. {
  1702.     *Order: DOC_FINISH.10
  1703.     *Cmd: =PJL_EXIT_LANGUAGE
  1704. }
  1705.  
  1706. *Command: CmdStartPage
  1707. {
  1708.     *Order: PAGE_SETUP.30
  1709.     *Cmd: "<1B>*r1A"
  1710. }
  1711.  
  1712. *Command: CmdEndPage
  1713. {
  1714.     *Order: PAGE_FINISH.10
  1715.     *Cmd: "<1B>*rC<0C>"
  1716. }
  1717.  
  1718.  
  1719. *%%
  1720. *%% Printing Attributes and Commands
  1721. *%%
  1722. *RotateCoordinate?: TRUE
  1723. *RotateRaster?: FALSE
  1724.  
  1725. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1726. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1727. *EjectPageWithFF?: FALSE
  1728. *XMoveThreshold: 0
  1729. *YMoveThreshold: 0
  1730. *XMoveUnit: 600
  1731. *YMoveUnit: 600
  1732.  
  1733. *Command: CmdXMoveAbsolute { *Cmd: "<1B>*p" %d{DestX}"X" }
  1734. *Command: CmdYMoveAbsolute { *Cmd: "<1B>*p" %d{DestY}"Y" }
  1735. *Command: CmdDisableCompression { *Cmd: "<1B>*b0M" }
  1736. *Command: CmdEnableTIFF4        { *Cmd: "<1B>*b2M" }
  1737. *Command: CmdSendBlockData      { *Cmd: "<1B>*b" %d{NumOfDataBytes}"W" }
  1738. *Command: CmdSendBlackData      { *Cmd: "<1B>*b" %d{NumOfDataBytes}"V" }
  1739. *Command: CmdSendCyanData       { *Cmd: "<1B>*b" %d{NumOfDataBytes}"V" }
  1740. *Command: CmdSendMagentaData    { *Cmd: "<1B>*b" %d{NumOfDataBytes}"V" }
  1741. *Command: CmdSendYellowData     { *Cmd: "<1B>*b" %d{NumOfDataBytes}"W" }
  1742. *Command: CmdCR { *Cmd: "<0D>" }
  1743. *Command: CmdLF { *Cmd: "<0A>" }
  1744. *Command: CmdFF { *Cmd: "<0C>" }
  1745.  
  1746. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1747. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1748. *OutputDataFormat: H_BYTE
  1749. *RasterSendAllData?: TRUE
  1750.